<?php
include_once "../../syracava/libs/config.inc";
require_once "common/SyLogger.class.php";

SyLogger::setup("999999");
$logger =& SyLogger::getLogger();

$logger->info("test start");
$logger->warn("Warning message.");
$logger->error("ERROR MESSAGE.");
$logger->fatal("FATAL MESSAGE");

print "test body<br>\n";

$logger->debug("only debug");
$logger->info("test end");
/*
$logger =& SyLogger::getLogger("OpenPTA");
$logger->info("Another logger.");
$logger->debug("only debug 1");
$logger->debug("only debug 2");
$logger->debug("only debug 3");
*/
$logger->shutdown();
?>